package parkshop.pmcourse.service;

import java.util.List;

import parkshop.pmcourse.domain.FavoriteProduct;
import parkshop.pmcourse.domain.FavoriteSaller;
import parkshop.pmcourse.domain.Shop;
import parkshop.pmcourse.dto.PageBean;

public interface FavoriteService {
	
	boolean saveFavoriteProduct(FavoriteProduct favoriteProduct);
	boolean saveFavoriteSaller(FavoriteSaller favoriteSaller);
	
	PageBean getFavoriteProductByCustomerId(int pageNumber,Long id);
	PageBean getFavoriteShopByCustomerId(int pageNumber,Long id);
	
	boolean deleteFavoriteProduct(Long productId,Long userId);
	boolean deleteFavoriteSaller(Long shopId,Long userId);

}
